feat: send opencode run params for sandbox prompts#1523
feat: send opencode run params for sandbox prompts#1523sweetmantech wants to merge 1 commit intotestfrom
Conversation
The Chat UI now sends command: "opencode" with args: ["run", prompt] so the task executes the user's prompt via opencode run in the sandbox. Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
createSandboxto sendcommand: "opencode"withargs: ["run", prompt]instead of sending the raw prompt ascommandopencode run "build a hello world app"in the sandboxTest plan
/sandboxestextarea (e.g. "build a hello world app"){ command: "opencode", args: ["run", "build a hello world app"] }opencode run "build a hello world app"in the sandbox🤖 Generated with Claude Code
Summary by CodeRabbit